<template>
  <view class="about">
    <uni-list>
      <uni-list-item
        :title="`当前应用版本号：${version_number ? version_number : '1.0.0'} `"
      >
      </uni-list-item>
      <uni-list-item title="粤ICP备2024192217号-2X"> </uni-list-item>
    </uni-list>
  </view>
</template>

<script lang="ts" setup>
// 条件编辑只在微信小程序显示
// #ifdef MP-WEIXIN
const accountInfo = wx.getAccountInfoSync();
let version_number = accountInfo.miniProgram.version; // 小程序 版本号

// #endif
</script>

<style scoped>
.about {
  height: 60rpx;
  padding: 10rpx;
  background-color: #fff;
  box-sizing: border-box;
  margin: 10rpx;
  border-radius: 15rpx;
}
</style>
